//
//  URLString.h
//  YiBaoStore
//
//  Created by 毛云河 on 2018/10/1.
//  Copyright © 2018年 小河. All rights reserved.
//

#ifndef URLString_h
#define URLString_h

//服务器地址
//#define URL_HOST @"http://ebapipre.eb56.com" //测试
#define URL_HOST @"http://47.99.76.130:8080"
//#define URL_HOST @"http://ebapi.eb56.com" //正式
#define upLoadUrl @"http://"


/**
 注册
 */
#define GetVerifyCode_API @"/api/common/sms/send_verify_code"//获取验证码
#define LOGIN_API @"/api/common/sms/validate_verify_code"//校验验证码
#define Login @"/seller_app_login_sms" //登录
#define CheckSession @"/api/common/session/check" //校验session
#define GetResgitInfo @"/api/register/seller/profile/get" //获取基本信息
#define SaveShopInfo @"/api/register/seller/profile/save"//保存店铺信息
#define TongLianCode_API @"/api/register/seller/allinpay/member/bind_mobile/send_verification_code" //通联注册时发送验证码
#define TongLianVIP_API  @"/api/register/seller/allinpay/member/bind_mobile/validate_verify_code" //创建通联会员
#define RegistBlindCard_API @"/api/register/seller/allinpay/member/card/bind_bank_card" //注册绑定银行卡
#define BlindCardValidate_API @"/api/register/seller/allinpay/member/card/bind_bank_card_validate" //校验绑卡验证码
#define CheckSignResult_API @"/api/register/seller/allinpay/member/check_sign_result" //查询通联会员电子协议签订结果
#define GetSignUrl_API @"/api/register/seller/allinpay/member/get_sign_url"//获取通联会员签约地址
/*
 首页
 */
#define MainIndex_API @"/api/seller/index/index_data"//首页信息
#define CHANGEPRICEGOODS_API @"/api/seller/item_shop_extend/list"//已改价商品
#define Recommend_API @"/api/seller/shop_recommend_item/list"//已推荐商品
#define SearchGoods_API @"/api/seller/item/search"//搜索商品和全部商品
#define RemoveRecommend_API @"/api/seller/shop_recommend_item/remove"//删除已推荐的商品
#define AddRecommend_API @"/api/seller/shop_recommend_item/add"//添加已推荐的商品
#define EditGoods_API @"/api/seller/item/edit"//编辑商品信息
#define HotWords_API @"/api/seller/item/share/hot_words"//搜索关键字
#define GoodsCategory_API @"/api/common/category/get_primary_category"//商品一级类目

#define UpdateShoppingState_API @"/api/seller/item/edit_item_update_state"//修改商品的状态(自营商品)

#define CategoryList_API @"/api/common/category/list"//获取分类信息
//#define SearchGoods_API @"/api/seller/product/search/list"//搜索商品
#define GoodsSharkPreview_API @"/api/seller/item/share/preview"//商品的分享预览
#define SharkImage_API @"/api/seller/item/share/generate_share_image"//生成分享图片

/**
 *活动接口
 */
#define ActivityList_API @"/api/seller/shop/promotion/list"//活动列表
#define ActivityGoodsList_API @"/api/seller/promotion/increase_purchase/increase_purchase_item/list"//加价购活动商品列表
#define AddActivityGoods_API @"/api/seller/promotion/increase_purchase/item/save"//添加加价购活动商品
#define EditActivityGoods_API @"/api/seller/promotion/increase_purchase/item/edit"//编辑加价购活动商品
#define RemoveActivityGoods_API @"/api/seller/promotion/increase_purchase/item/remove"//移除加价购活动商品
#define ZiCaiGoodsList_API @"/api/seller/promotion/increase_purchase/self_collection_item/list"//自采商品列表
#define GetActivityState_API @"/api/seller/promotion/increase_purchase/state"//获取店铺加价购活动状态
#define StickyActivity_API @"/api/seller/promotion/increase_purchase/sticky"//加价购商品置顶
#define ActivitySwitch_API @"/api/seller/promotion/increase_purchase/switch"//开启或关闭加价购活动

/*
 我的
 */
#define MySelfIndex_API @"/api/seller/mine/index_data"//我的页面
#define GetShopInfo   @"/api/seller/shop/profile/get" //获取店铺信息
#define Recharge_API  @"/api/seller/recharge/goods_capital_recharge_index_data"
//@"/api/seller/recharge/index_data"//充值页面
#define Wechat_Pay_API @"/api/seller/recharge/wechat_pre_pay"//充值操作
#define wechat_Pay_Success_API @"/api/seller/recharge/wechat_pay_success"//充值操作
#define Alipay_Pay_API @"/api/seller/recharge/alipay_pre_pay"//充值操作
#define Alipay_pay_Success_API @"/api/seller/recharge/alipay_pay_success"//充值操作
#define Recharge_Detail_API @"/api/seller/recharge/detail"//充值操作
#define MyData_List_API @"/api/seller/statistics/list"//我的数据
#define Notice_List_API @"/api/seller/notice/list"//公告list
#define Notice_Add_API @"/api/seller/notice/add"//公告add
#define Notice_Remove_API @"/api/seller/notice/remove"//公告remove
//#define GetMyInfo_API @"/api/seller/profile/get"//获取个人信息
#define EditMyInfo_API @"/api/seller/shop/profile/edit"//编辑个人信息
#define RealName_API  @"/api/seller/shop/real_name/get" //获取实名信息
#define GetBankInfo_API @"/api/seller/shop/bank_card/get" //获取店铺银行账号信息
#define ChangeBankCard_API @"/api/seller/shop/bank_card/change" //银行卡换绑
#define Change_validate_API @"/api/seller/shop/bank_card/change_validate"//银行卡换绑校验
#define FlowList_API @"/api/seller/capital/flow/list" //店铺资金流水
#define EditLoginMobile_API @"/api/seller/profile/change_mobile"//修改登录手机号
#define GetByCode_API  @"/api/seller/order/pick_up_in_shop_order/get_by_code" //根据验证码提货
#define Confirm_delivery_API  @"/api/seller/order/pick_up_in_shop_order/confirm_delivery"
#define OrderList_API @"/api/seller/order/list" //订单列表
#define Capital_API   @"/api/seller/order/confirm_all_for_goods_capital" //解冻
#define ShopState_API @"/api/seller/shop/state" //查看店铺状态"
#define UploadImage_API @"/api/common/file/upload/image/single" //上传单个图片
#define ShareStatus_API @"/api/seller/product/share/update_share_status"//分享状态
#define Logout @"/logout" //退出

//登录的固定参数
#define PlatformCode  @"YiBao"

//第三方key 友盟
#define UMengKey @"5bc9b2abf1f5561e8e000465"

//阿里云相关
//#define ALIAccessKey  @"LTAIWLZXQXpwIppm"
//#define ALISecretKey  @"ZVjCXuxu3KPEFpFk9uYP3RtqbAddcN"

// 微信相关           wx90e9ed28ea3ff574
#define WEXIN_KEY @"wx39ebad90c4ef74f5"
//@"wxaa1a5e6bafd6a14a"
#define WEXIN_SECRET @"e71a18a54e53fe51babc7018100a1626"
//@"e2ef35383b1951ededc497057bbd84e4"

#endif /* URLString_h */
